#include "Collidable.h"
#include <vector>
#include "Platform.h"
#include "Vector3.h"

Collidable::Collidable(): sx(1), sy(1), sz(1), cw(1), ch(1), offsetX(0), offsetY(0), type(PLATFORM), dead(false), dying(false)
{
}

void Collidable::setScale(float scaleX, float scaleY, float scaleZ)
{
	sx = scaleX;
	sy = scaleY;
	sz = scaleZ;

}

const Vector3& Collidable::getPos() const
{
	return position;
}

void Collidable::setPosition(float x, float y, float z)
{
	position.x = x;
	position.y = y;
	position.z = z;
}